<%--
  Created by IntelliJ IDEA.
  User: sanzang
  Date: 2021/6/18
  Time: 3:34 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>角色授权页</h1>
    <form action="/auth/role/add" method="post">
        <br> 用户ID- ${LOGIN.uid}
        <br>用户名- ${LOGIN.uname}
        <br>系统角色-
        <c:forEach items="${roles}" var="obj">
             ${obj.roleName}<input type="checkbox" name="myrole" value="${obj.roleId}" />
        </c:forEach>
        <br><button>授权</button>
    </form>
</body>
</html>
